#include "managewindow.h"

ManageWindow::ManageWindow(QWidget *parent)
    : QMainWindow{parent}
{
    mainWgt = new QWidget;
    mainLyt = new QGridLayout;
    mainLyt->setMargin(0);
    mainLyt->setSpacing(0);
    testBtn = new NoteButton();
    testPuBtn = new QPushButton();
    mainLyt->addWidget(testBtn);
    mainLyt->addWidget(testPuBtn);
    mainWgt->setLayout(mainLyt);
    this->setCentralWidget(mainWgt);
}

void ManageWindow::wShow()
{
    this->show();
    testBtn->updateText("njdk");
}
